package com.sss.otep.orm.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * @author PraditR
 *
 */
@Entity
@Table(name = "CPK_WS_MEM_PAID_DEPT")
@javax.persistence.SequenceGenerator(
	    name="member_paid_dept_seq",
	    sequenceName="SEQ_CPK_WS_MEM_PAID_DEPT",	    
	    initialValue=0
)
public class MemberPaidDept implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6264365802912393233L;
	@Id @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="member_paid_dept_seq")
	@Column(name="CPK_ID")
	private Integer cpkId;
	
	@Column(name="CPK_TYPE", length=3)
	private String cpkType;
	
	@Column(name="CPK_MEM_ID_CARD")
	private String cpkMemIdcard;
	
	@Column(name="CPK_MEM_NAME")
	private String cpkMemName;
	
	@Column(name="CPK_MEM_SURNAME")
	private String cpkMemSurname;
	
	@Column(name="CPK_DUE_DTL",length=6)	
	private String cpkDueDtl;
	
	@Column(name="CPK_PAID_ATM")
	private BigDecimal cpkPaidATM;
	
	@Column(name="CPK_PAID_DATE")
	private Date cpkPaidDate;
	
	@Column(name="CPK_MEM_ORG_NAME")
	private String cpkMemOrgName;
	
	@Column(name="CPK_MEM_DEPARTMENT")
	private String cpkMemDepartment;
	
	@Embedded private RecordInfo recordInfo;
	
	public Integer getCpkId() {
		return cpkId;
	}
	public void setCpkId(Integer cpkId) {
		this.cpkId = cpkId;
	}
	public String getCpkType() {
		return cpkType;
	}
	public void setCpkType(String cpkType) {
		this.cpkType = cpkType;
	}
	public String getCpkMemIdcard() {
		return cpkMemIdcard;
	}
	public void setCpkMemIdcard(String cpkMemIdcard) {
		this.cpkMemIdcard = cpkMemIdcard;
	}
	public String getCpkMemName() {
		return cpkMemName;
	}
	public void setCpkMemName(String cpkMemName) {
		this.cpkMemName = cpkMemName;
	}
	public String getCpkMemSurname() {
		return cpkMemSurname;
	}
	public void setCpkMemSurname(String cpkMemSurname) {
		this.cpkMemSurname = cpkMemSurname;
	}
	public String getCpkDueDtl() {
		return cpkDueDtl;
	}
	public void setCpkDueDtl(String cpkDueDtl) {
		this.cpkDueDtl = cpkDueDtl;
	}
	public BigDecimal getCpkPaidATM() {
		return cpkPaidATM;
	}
	public void setCpkPaidATM(BigDecimal cpkPaidATM) {
		this.cpkPaidATM = cpkPaidATM;
	}
	public Date getCpkPaidDate() {
		return cpkPaidDate;
	}
	public void setCpkPaidDate(Date cpkPaidDate) {
		this.cpkPaidDate = cpkPaidDate;
	}
	public String getCpkMemOrgName() {
		return cpkMemOrgName;
	}
	public void setCpkMemOrgName(String cpkMemOrgName) {
		this.cpkMemOrgName = cpkMemOrgName;
	}
	public String getCpkMemDepartment() {
		return cpkMemDepartment;
	}
	public void setCpkMemDepartment(String cpkMemDepartment) {
		this.cpkMemDepartment = cpkMemDepartment;
	}
	public void setRecordInfo(RecordInfo recordInfo) {
		this.recordInfo = recordInfo;
	}
	public RecordInfo getRecordInfo() {
		return recordInfo;
	}
	
}
